package com.kara.woodAgent.agent.wood.playload;

import com.kara.woodAgent.agent.graph.communicate.ChannelMessage;
import lombok.Data;

@Data
public class InterruptMessage extends ChannelMessage {

    private String id;

    public static InterruptMessage from(String id, String content) {
        InterruptMessage interruptMessage = new InterruptMessage();
        interruptMessage.setId(id);
        interruptMessage.setContent(content);

        return interruptMessage;
    }
}
